package com.gaoyi.websocket.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gaoyi.websocket.entity.TblNews;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liaojunhui
 * @since 2021-03-19
 */
public interface TblNewsService extends IService<TblNews> {

    //int insert(TblNews tblNews);

    List<TblNews> queryByStr(String title);

    List<TblNews> getAllNews();

    TblNews nextNews(Integer titleId);

    TblNews preNews(Integer titleId);
}
